package com.nus.fellowmark.modules.assignment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nus.fellowmark.common.utils.PageUtils;
import com.nus.fellowmark.entity.QuestionEntity;
import com.nus.fellowmark.modules.assignment.dto.QuestionDTO;
import com.nus.fellowmark.modules.assignment.vo.QuestionVO;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Chen Ruoyi
 * @email chenruoyisz@gmail.com
 * @date 2023-02-10  
 */
public interface QuestionService extends IService<QuestionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    QuestionVO addQuestion(QuestionDTO questionDTO);

    void updateQuestion(QuestionDTO questionDTO);

    List<QuestionVO> listQuestions(Integer assignmentId);
}

